html{ font-size:16px}

.main {
    width: 95%;
    max-width: 1400px;
    margin: 5px auto;
    /* min-height: 400px; */
}

@media (max-width: 1024px) {
  .main {
    width: 100%;
    max-width: 1400px;
    margin: 5px auto;
    font-size: 1rem;
    overflow-x: hidden
  }
}

.topic-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  /* margin: 0.5rem; */
  background-color: white
}

.topic-inner-container {
  display: flex;
  flex-direction: row;
  padding: 0.3rem 0 0.3rem 0;
  margin: 0.2rem;
  border-bottom: 1px solid #F0F0F0;
  font-size: 1rem;
}

.line-limit-length {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; 
}

.author-avatar-container {
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 100px;
  margin-right: 10px;
}

.author-avatar {
  height: 100%;
  width: 100%;
  border-radius: 100px;
}

.tabs-container {
  margin: 5px;
  background-color: #f6f6f6;
}

.tab-span {
  color: #80bd01;
  text-align: center;
  padding: 5px;

}

.topic-detail-container {
  background-color: white;
  overflow: hidden;
}

.topic-detail-title {
  padding: 0.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.topic-detail-content {
  padding: 0.5rem;
}

.topic-detail-content img, .topic-detail-reply img {
  width: 100%;
  height: 100%
}

.topic-detail-reply {
  margin: 5px 5px 0 5px;
  border-top: 1px solid #e5e5e5;
}

.topic-detail-reply-template {
  margin: 3px;
  border-bottom: 1px solid #e5e5e5;
  display: flex
}
